package ct.zxd.bean;

public class Comment {
	private Integer id ;
	
	private Integer dishId ;
	
	private String userId ;
	
	private String content ;
	
	private String reply ;
	
	private float score ;
	
	private User user;
	
	private long time ;
	
	public Comment () {}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDishId() {
		return dishId;
	}

	public void setDishId(Integer dishId) {
		this.dishId = dishId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getReply() {
		return reply;
	}

	public void setReply(String reply) {
		this.reply = reply;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Comment [id=" + id + ", dishId=" + dishId + ", userId=" + userId + ", content=" + content + ", reply="
				+ reply + ", score=" + score + ", user=" + user + ", time=" + time + "]";
	}

	

	
	
	
}
